<!-- 搜索框及工具条 -->
<div class="c-head-box">
    <form method="get" action="{:Url('user_assure_list')}">
        <ul>
            <li class="c-head-search">
                <!-- 搜索条件 -->
                <ul>
                    <li><span>用户编号：</span><input type="text" name="user_id" value="{$user_id}"/></li>
                    <li><span>担保金额：</span><input type="text" name="assure_money" value="{$assure_money}"/></li>
                </ul>
            </li>
            <li class="c-head-button">
                <!-- 操作按钮 -->
                <div class="fr"><input type="submit" class="but_blue" value="搜索"></div>
            </li>
        </ul>
    </form>
</div>

<!--用户列表-->
<div class="lists-tab-cont">
    <div class="lists-table">
        <table class="pointer" cellpadding="0" cellspacing="0" border="0">
            <thead>
            <tr>
                <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>编号</p></a></th>
                <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>用户编号</p></a></th>
                <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>用户名称</p></a></th>
                <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>担保金额（万元）</p></a></th>
                <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>担保周期（年）</p></a></th>
                <th style="width: 10%;" class="tabSort-header"><a class="tabSort-header-inner"><p>担保时间</p></a></th>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>状态</p></a></th>
                <th class="tabSort-header">操作</th>
            </tr>
            </thead>
            <tbody>
            {foreach name="user_assure_list" item="info"}
            <tr>
                <td>{$info.user_assure_id}</td>
                <td>{$info.user_id}</td>
                <td>{:widget('common/Name/user',array($info['user_id']))}</td>
                <td>{$info.assure_money??'--'}</td>
                <td>{$info.assure_cycle??'--'}</td>
                <td>{$info.assure_time??'--'}</td>
                <td>{:widget('common/Color/Color',array("assure_status",$info['assure_status']))}</td>
                <td>
                    <a data-type="info-win" data-src="{:Url('user_assure_info',array('user_assure_id'=>$info['user_assure_id']))}" data-title="详情" data-width="80%" data-height="80%" class="blue">详情</a>
                </td>
            </tr>
            {/foreach}
            </tbody>
        </table>
    </div>

    <!-- 翻页模板 -->
    <div class="page">
        {$Think.config.page_html}
    </div>
</div>